package com.shanzmoo.db.stm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shanzmoo.base.bean.PageRespBase;
import com.shanzmoo.base.bean.SResponse;
import com.shanzmoo.db.stm.entity.query.StmSysRoleQuery;
import com.shanzmoo.db.stm.entity.vo.StmSysRoleVO;
import com.shanzmoo.db.stm.entity.StmSysRoleEntity;

import java.util.List;

/**
 * 仓储用户系统角色 服务类
 *
 * @author Gzhao 2021-03-10
 */
public interface IStmSysRoleService extends IService<StmSysRoleEntity> {

    PageRespBase<StmSysRoleVO> queryPage(StmSysRoleQuery query);

    SResponse<Boolean> add(StmSysRoleEntity entity, List<Integer> menuIds);
}
